﻿using Abp.Runtime.Validation;
using System;
using System.Collections.Generic;
using System.Text;
using Yq.BookList.Dtos;

namespace Yq.BookList.BookListManagement.Books.Dtos
{
    public class GetBookInput : PagedAndFilteredInputDto, IShouldNormalize
    {
        public void Normalize()
        {
            if(string.IsNullOrWhiteSpace(Sorting))
            {
                Sorting = "Id";
            }
        }
    }
}
